package com.cong.数组;

public class Demo01 {
    public void t01(){
        int[] arr = {1,23,4,6,54,8};
        for (int j : arr) {
            //3.打印每一个元素
            System.out.print(j + " ");
        }
    }

}
